package cn.zn.flow.service;

import cn.zn.flow.entity.FlowRollback;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 回退记录 服务类
 * </p>
 *
 * @author zn-admin
 * @since 2021-07-13
 */
public interface FlowRollbackService extends IService<FlowRollback> {

    /**
     * 插入回退记录
     *
     * @param dataId 数据id
     * @param reason 理由
     * @param table  表
     */
    void insertFlowRollback(String dataId, String table, String reason);

}
